package org.cskj.demo.demo.pojo;

public class Shop {
    private Integer shopid;

    private String shopname;

    private Double shopprice;

    private Integer shopnum;

    private String shopmessage;

    private Integer shoptypeid;

    private String shopimage;
    private Shoptype shoptype;

    public Shoptype getShoptype() {
        return shoptype;
    }

    public void setShoptype(Shoptype shoptype) {
        this.shoptype = shoptype;
    }

    public Shop(Integer shopid, String shopname, Double shopprice, Integer shopnum, String shopmessage, Integer shoptypeid, String shopimage, Shoptype shoptype) {
        this.shopid = shopid;
        this.shopname = shopname;
        this.shopprice = shopprice;
        this.shopnum = shopnum;
        this.shopmessage = shopmessage;
        this.shoptypeid = shoptypeid;
        this.shopimage = shopimage;
        this.shoptype = shoptype;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "shopid=" + shopid +
                ", shopname='" + shopname + '\'' +
                ", shopprice=" + shopprice +
                ", shopnum=" + shopnum +
                ", shopmessage='" + shopmessage + '\'' +
                ", shoptypeid=" + shoptypeid +
                ", shopimage='" + shopimage + '\'' +
                ", shoptype=" + shoptype +
                '}';
    }

    public Shop(Integer shopid, String shopname, Double shopprice, Integer shopnum, String shopmessage, Integer shoptypeid, String shopimage) {
        this.shopid = shopid;
        this.shopname = shopname;
        this.shopprice = shopprice;
        this.shopnum = shopnum;
        this.shopmessage = shopmessage;
        this.shoptypeid = shoptypeid;
        this.shopimage = shopimage;
    }

    public Shop() {
        super();
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname == null ? null : shopname.trim();
    }

    public Double getShopprice() {
        return shopprice;
    }

    public void setShopprice(Double shopprice) {
        this.shopprice = shopprice;
    }

    public Integer getShopnum() {
        return shopnum;
    }

    public void setShopnum(Integer shopnum) {
        this.shopnum = shopnum;
    }

    public String getShopmessage() {
        return shopmessage;
    }

    public void setShopmessage(String shopmessage) {
        this.shopmessage = shopmessage == null ? null : shopmessage.trim();
    }

    public Integer getShoptypeid() {
        return shoptypeid;
    }

    public void setShoptypeid(Integer shoptypeid) {
        this.shoptypeid = shoptypeid;
    }

    public String getShopimage() {
        return shopimage;
    }

    public void setShopimage(String shopimage) {
        this.shopimage = shopimage == null ? null : shopimage.trim();
    }
}